#include "libAcoustX/core/Source.h"
#define FREQ_PROP_NAME "freq"

ax::core::Source::Source()
	: geo::shape::CoordZ()
{
	setFrequency(1000);
}

ax::core::Source::~Source()
{
}

void ax::core::Source::setFrequency(double freq)
{
	mDoubleProps[FREQ_PROP_NAME] = freq;
}

double ax::core::Source::getFrequency() const
{
	double freq = 1000;
	getProperty<double>(FREQ_PROP_NAME, freq);
	return freq;
}
